package dao;

import org.apache.ibatis.annotations.Param;
import po.DyhNewsComment;
import po.DyhNewsCommentExample;

import java.util.List;

public interface DyhNewsCommentMapper {
    int countByExample(DyhNewsCommentExample example);

    int deleteByExample(DyhNewsCommentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DyhNewsComment record);

    int insertSelective(DyhNewsComment record);

    List<DyhNewsComment> selectByExample(DyhNewsCommentExample example);

    DyhNewsComment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DyhNewsComment record, @Param("example") DyhNewsCommentExample example);

    int updateByExample(@Param("record") DyhNewsComment record, @Param("example") DyhNewsCommentExample example);

    int updateByPrimaryKeySelective(DyhNewsComment record);

    int updateByPrimaryKey(DyhNewsComment record);
}